package com.lagou.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping
public class HelloController {

    @RequestMapping("/hello.do")
    public String toHello(HttpServletRequest request) {
        System.out.println("-----------------------/hello.do-----------------------接口访问成功");
        return "login";
    }

}
